/**
 * Created by Administrator on 2017/3/11.
 */
import React from 'react';
class InformItem extends React.Component{
    render(){
        let item=this.props.item;
        return(
            <li>
                <a href="#">{item.title}</a>
            </li>
        )
    }
}

export default class Inform extends React.Component{
    render(){
        let items=this.props.items;
        return(
            <div className="inform">
                <h2 className="quick">快速导航</h2>
                <div className="info_list">
                    <ul className="quickList">
                        {
                            items.map(function (item,idx) {
                                return <InformItem item={item} key={"quick"+idx}/>
                            })
                        }
                    </ul>
                </div>
            </div>
        )
    }
}